|
![](/i/fill.gif) |
I'm trying to create a ying/yang sort of image. Here is some source that
defines the objects. On paper it seems like it would work, but when
rendered, there is a nice gap between the two halves. I have messed around
with different formulae, but can't get it right. Can anyone grok the formula
for this? :)
// Source //
#declare O_Ying=
union
{
#declare R=0;
#while (R<1)
#declare A=R*180;
#declare X=1.5*cos(radians(A))+0.5;
#declare Y=0.0;
#declare Z=1.5*sin(radians(A));
sphere
{
<X,Y,Z>,R
}
#declare R=R+0.01;
#end
}
#declare O_Yang=
object
{
O_Ying
rotate y*180
}
// End Source //
--
Paul Vanukoff
van### [at] primenet com
Post a reply to this message
|
![](/i/fill.gif) |